Book Contents

Example: Relational operators

For these examples, tag1 = 5 and tag2 = 7.

tag1 > tag2
is false, so the expression returns a 0

tag1 LE tag2
is true, so the expression returns a 1

tag1 == 5
is true, so the expression returns a 1

See also

About expressions

Relational operators in expressions